#include "Stack.h"

void test()
{
	ST s;
	STInit(&s);
	STPush(&s, 1);
	STPush(&s, 2);
	STPush(&s, 3);
	STPush(&s, 4);
	STPush(&s, 5);
	STprint(&s);
	printf("%d\n",STSize(&s));
	while (!STEmpty(&s))
	{
		STprint(&s);
		STDataType tmp = STPop(&s);
		printf("%d\n",tmp);
	}
	STDestroy(&s);
}

int main()
{
	test();

	return 0;
}

